﻿using UnityEngine;
using System.Collections;

public class FollowTarget : Actor
{	
	public GameObject m_Target;
	public float m_Damping = 1;
	private Vector3 m_Offset;
	
	void Start() 
	{
		m_Offset = m_Target.transform.position - aTransform.position;
	}
	
	void LateUpdate() 
	{
		aTransform.position = m_Target.transform.position - m_Offset;
	}
}
